package Tech.yunjing.onlineStorage.controller;

import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframework.stereotype.Controller;

/**
 * Created by lenovo on 2016/6/28.
 */
@Controller
public class AppErrorController implements ErrorController {

    private final static String ERROR_PATH = "/error";

    public String getErrorPath() {
        return ERROR_PATH;
    }
}
